<!--=============================================================================
#     FileName: left.html
#         Desc: 
#       Author: cold night
#        Email: wh_linux@126.com
#     HomePage: http://www.linuxzen.com/
#      Version: 0.0.1
#   LastChange: 2012-05-18 17:13:50
#      History:
=============================================================================-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
		
		<title>{{title}}</title>
		<!--                       CSS                       -->
	  
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="http://{{SITE_DOMAIN}}/static/resources/css/reset.css" type="text/css" media="screen" />
	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="http://{{SITE_DOMAIN}}/static/resources/css/style.css" type="text/css" media="screen" />
		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="http://{{SITE_DOMAIN}}/static/resources/css/invalid.css" type="text/css" media="screen" />	
		
		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="http://{{SITE_DOMAIN}}/static/resources/css/blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="http://{{SITE_DOMAIN}}/static/resources/css/red.css" type="text/css" media="screen" />  
	 
		-->
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="http://{{SITE_DOMAIN}}/static/resources/css/ie.css" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->

  
		<!-- jQuery -->
		<script type="text/javascript" src="http://{{SITE_DOMAIN}}/static/resources/scripts/jquery-1.3.2.min.js"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="http://{{SITE_DOMAIN}}/static/resources/scripts/simpla.jquery.configuration.js"></script>
		
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="http://{{SITE_DOMAIN}}/static/resources/scripts/facebox.js"></script>
		
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="http://{{SITE_DOMAIN}}/static/resources/scripts/jquery.wysiwyg.js"></script>
		
		<!-- jQuery Datepicker Plugin -->
		<script type="text/javascript" src="http://{{SITE_DOMAIN}}/static/resources/scripts/jquery.datePicker.js"></script>
		<script type="text/javascript" src="http://{{SITE_DOMAIN}}/static/resources/scripts/jquery.date.js"></script>
		<!--[if IE]><script type="text/javascript" src="http://{{SITE_DOMAIN}}/static/resources/scripts/jquery.bgiframe.js"></script><![endif]-->

		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="http://{{SITE_DOMAIN}}/static/resources/scripts/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
			<![endif]-->
			%if 'editor' in dir():
			%if editor:
		<script  src="http://{{SITE_DOMAIN}}/static/ckeditor.js"></script>
		%end
		%end

		
	</head>
  
	<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		
		<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->
			
				<h1 id="sidebar-title"><a href="/">{{title}}</a></h1>
		  
			<!-- Logo (221px wide) -->
			<a href="#"><img id="logo" src="http://{{SITE_DOMAIN}}/static/resources/images/logo.png" alt="Simpla Admin logo" /></a>
		  
			<!-- Sidebar Profile links -->
			<div id="profile-links">
				Hello, <a href="#" title="Edit your profile">{{user}}</a>
				<br />
				<a href="/" title="查看站点">查看站点</a> | <a href="/logout" title="Sign Out">登出</a>
			</div>        
			
			<ul id="main-nav">  <!-- Accordion Menu -->
				
				<li>
					<a href="/admin" class="nav-top-item no-submenu"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
						仪表盘
					</a>       
				</li>
				
				<li> 
					<a href="#" class="nav-top-item"> <!-- Add the class "current" to current menu item -->
					文章
					</a>
					<ul>
						<li><a href="/admin/write">写文章</a></li>
						<li><a href="/admin/articles">所有文章</a></li> <!-- Add class "current" to sub menu items also -->
						<li><a href="/admin/comments">管理评论</a></li>
						<li><a href="/admin/categories">管理分类</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						页面
					</a>
					<ul>
						<li><a href="/admin/pages/new">新建页面</a></li>
						<li><a href="/admin/pages">管理页面</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						设置
					</a>
					<ul>
						<li><a href="/admin/setting">常规</a></li>
					</ul>
				</li>      
				
			</ul> <!-- End #main-nav -->
			{{!main}}
</body>
</html>
			
